// 菜单数据
export interface ResponseData {
    "code": number,
    "message": string,
    "ok": boolean
}

export interface MenuList {
    "id"?: number | string,
    "createTime"?: string,
    "updateTime"?: string,
    "pid"?: number,
    "name": string,
    "code": string,
    "toCode"?: null,
    "type"?: number,
    "status"?: null,
    "level"?: number,
    "children"?: AllMenuList,
    "select"?: boolean
}

export type AllMenuList = MenuList[]

export interface MenuDataList extends ResponseData {
    data: AllMenuList
}
